package com.mofum.scope.entity;

import java.util.List;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import com.baomidou.mybatisplus.annotation.TableField;
import com.mofum.scope.common.model.Scope;

/**
 * 真实业务对象
 *
 * @author developer@omuao.com
 * @since 2019-03-28
 **/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class User {

    /**
     * 注解
     */
    private String       id;

    /**
     * 名称
     */
    private String       name;

    /**
     * 范围字段1
     */
    private String       scopeOne;

    /**
     * 范围字段2
     */
    private String       scopeTwo;

    /**
     * 范围集合
     */
    @TableField(exist = false)
    private List<Scope>  scopeCollections;

    /**
     * 业务ID
     */
    @TableField(exist = false)
    private List<String> serviceIds;

}
